package com.gln.bloger.service.impl;

import org.compass.core.Compass;
import org.compass.gps.CompassGps;

import com.gln.bloger.exception.BlogerException;
import com.gln.bloger.service.IndexService;

public class IndexServiceImpl implements IndexService {

    private Compass compass;
	
	private CompassGps compassGps;
	
	public CompassGps getCompassGps() {
		return compassGps;
	}
	public void setCompassGps(CompassGps compassGps) {
		this.compassGps = compassGps;
	}
	
	public Compass getCompass() {
		return compass;
	}
	public void setCompass(Compass compass) {
		this.compass = compass;
	}
    public void index() throws BlogerException {
		this.compassGps.index();
	}
}
